package com.qfedu.edu.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaobobo
 * @since 2024-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_exception")
@ApiModel(value="Exception对象", description="")
public class Exception implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "异常id")
    @TableId(value = "exception_id", type = IdType.ID_WORKER_STR)
    private String exceptionId;

    @ApiModelProperty(value = "0：表示的是下订单异常  1：减库存异常   2：更改订单状态异常")
    private Integer exceptionType;

    @ApiModelProperty(value = "重试的异常消息")
    private String exceptionMsg;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "离线乐观锁")
    @Version
    private Integer version;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer deleted;


}
